import request from "@/request";

export default {
  getApplicationList(params) {
    return request({
      url: "/resource/order/list",
      method: "get",
      params,
    });
  },
  getMySubscribe() {
    return request({
      url: "/info/subscribe/type/infoType",
      method: "get",
    });
  },
  addUser(data) {
    return request({
      url: "/system/user",
      method: "post",
      data,
    });
  },
  updateUser(data) {
    return request({
      url: "/system/user",
      method: "put",
      data,
    });
  },
  myCooperationList(params) {
    return request({
      url: "/cooperation/list",
      method: "get",
      params,
    });
  },
};
